﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using UnitLibrary.Managers;
using UnitLibrary.GameObjects.Physics; using UnitLibrary.GameObjects.Units;
using UnitLibrary.Utility;
using UnitLibrary.GameObjects;

namespace PrototypeGame.GameScreens
{
    public class LevelTwoScreen: MainGameScreen
    {
        public LevelTwoScreen(Game game)
            : base(game)
        {
        }
        

        public override void Initialize()
        {
            base.Initialize();
        }

        public override void LoadContent()
        {
            _gameComponents.LoadContent();
            //_capturePointManager = new CapturePointManager(_game, _gameComponents, 5);
            //_game.Components.Add(_capturePointManager);
            //foreach (RPool<CapturePoint>.Node capturepoint in _capturePointManager.CapturePoints.AllNodes)
            //{
            //    capturepoint.Item.OnPointCaptured += PointCaptured;
            //}
            //_pointsCaputered = new PointsManager(_game, _gameComponents);
            //_game.Components.Add(_pointsCaputered);
            base.LoadContent();
        }

        public override void Update(GameTime gameTime, bool otherScreenHasFocus, bool coveredByOtherScreen)
        {
            base.Update(gameTime, otherScreenHasFocus, coveredByOtherScreen);
        }

        public static string GetLevelTitle()
        {
            return "edit me";
        }

        public static string GetLevelDetails()
        {
            return "Edit me";
        }
    }
}
